using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
using System.Text;

using FoxConn.Lib.Dbo;
using FoxConn.Lib.Winform;
using ReportLostCard.Source;

namespace ReportLostCard.Source
{
    class MainFunction
    {
        public MainFunction()
        { 
        }

        public void run()
        {
            Console.WriteLine("*************************");
            DBException dbex = new DBException();
            bool blnResult = InformixUtil.InsertToBlackListAndChangeEcardInfo();

            dbex.SaveErrorLog("Result is:" + blnResult.ToString());
            Console.WriteLine("*************************");
        }
    }
}
